package com.rr.mymoney.dao;

import org.springframework.stereotype.Repository;

import com.rr.mymoney.model.Tag;

/**
 * @author ro Data access object interface for Tag entity
 */
@Repository
public interface TagDao {
    public void saveOrUpdate(Tag tag);

    public Tag get(Long id);

    public Tag getByName(String tagName);

    public void delete(Tag tag);
}
